package com.flash.javamate.entity;

import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author sunyiming
 * @date 2018/8/13
 */
@Data
public class ApiDocDataModel extends AbstractDataModel {

    private List<MethodDataModel> methods;

    @Data
    public class MethodDataModel extends AbstractDataModel {
        private String devUrl;
        private String testUrl;
        private String prodUrl;
        private String method;
        private String contentType;

        private List<ParamDataModel> params;
        private List<ParamDataModel> returnParams;
    }

    @Data
    public class ParamDataModel extends AbstractDataModel {

    }

}
